# -*- coding: utf-8 -*-
'''
@Time    : 24-5-24 下午15:37
@Author  : zhangweihao
@File    : tasks.py
'''
from flask import Blueprint
from ext.flask_api import Api
from .views import *
api = Blueprint('risk_retrieval', __name__)

API = Api(api, prefix='/risk_retrieval', catch_all_404s=True)
API.add_resource(RiskRetrievalView,'/discover')
API.add_resource(RiskAnalysisListView,'/list')
API.add_resource(RiskAnalysisEditView,'/edit')
API.add_resource(RiskAnalysisImportView,'/import')
API.add_resource(RiskAnalysisBubbleView,'/bubble')
API.add_resource(RiskRetrievalDownloadView,'/download')